<?php
$lines = @file('link.txt') ;  
$f = fopen('text.txt', 'w');
shuffle($lines);
foreach($lines as $line) {
	fwrite($f, $line);
}
fclose($f);
?>